<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
?>

<div class="runoob-form">
    <?php $form = ActiveForm::begin(
            [
                    'id' => 'runoob-form',
                'action' => \yii\helpers\Url::to(['runoob/add-news']),
            ]
    ); ?>
   <?=$form->field($model,'runoob_title')->textInput()?>
    <?=$form->field($model,'runoob_author')->textInput()?>
    <?=$form->field($model,'submission_date')->textInput()?>
    <div class="form-group">
        <?=Html::submitButton('Save',['class'=>'btn btn-success'])?>
    </div>
    <?php ActiveForm::end(); ?>
</div>
